package com.bw.day10.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.bw.day10.entity.Organization;
import com.bw.day10.entity.Paybill;
import com.bw.day10.entity.User;

public interface PaybillDao {

	List<Paybill> getlist(Paybill paybill);

	Paybill selectid(Integer id);
	
	List<User> getUsers(@Param("id")Integer id);

	List<Organization> getorganization();

	void deletepaybill(Integer id);

	void deletebilluser(Integer id);

	void deleteuser(Integer id);

	void inserpaybill(Paybill paybill);

	void inseruser(User user);

	void inserbilluser(@Param("id")Integer id, @Param("id2")Integer id2);

	User login(String name);
}
